package com.itheima.demo.listener;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

public class ManagerListener implements TaskListener {
 
	public void notify(DelegateTask delegateTask) {
		String assignee = delegateTask.getAssignee();
		System.out.println("事件：" + delegateTask.getEventName()
				+ "，" + assignee + "经理有待办需要审批");
	}
}
